/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package prim;

import java.util.ArrayList;

public class Node {

    public String name;
    public ArrayList<Edge> routes;

    public Node(String name) {
        this.name = name;
        routes = new ArrayList();
    }

    public void addEdge(Edge e) {
        routes.add(e);
    }
}
